//
//  UserOfxgy.swift
//  ShopIOS
//西瓜鱼用户信息
//  Created by Apple on 2019/8/15.
//  Copyright © 2019 Apple. All rights reserved.
//

import Foundation
import SwiftyJSON
struct UserOfxgy {
    var IDCard: String?
    var TotalMoney: Int = 0
    var DistrictCode: String?
    var Address: String?
    var Sex: String?
    var Version: Int = 0
    var limit: Int = 0
    var Con: Int = 0
    var PassWord: String?
    var page: Int = 0
    var LoginCount: Int = 0
    var RoleName: String?
    var NickName: String?
    var `Type`: String?
    var EndDate: String?
    var AreaCode: String?
    var TopRank: String?
    var RemainMoney: Int = 0
    var Dimension: String?
    var Id: String?
    var DepositMoney: Int = 0
    var AuthMessage: String?
    var ParentUserID: String?
    var UserID: String?
    var Phone: String?
    var PayPassWord: String?
    var FrozenMoney: Float = 0.0
    var Skills: String?
    var CityCode: String?
    var TrueName: String?
    var IsUse: String?
    var DepositFrozenMoney: Int = 0
    var CreateDate: String?
    var ProvinceCode: String?
    var RoleID: Int = 0
    var Avator: String?
    var Longitude: String?
    var AccountID: Int = 0
    var LastLoginDate: String?
    var StartDate: String?
    var IfAuth: String?
    
    init(json: JSON) {
        IDCard = json["IDCard"].stringValue
        TotalMoney = json["TotalMoney"].intValue
        DistrictCode = json["DistrictCode"].stringValue
        Address = json["Address"].stringValue
        Sex = json["Sex"].stringValue
        Version = json["Version"].intValue
        limit = json["limit"].intValue
        Con = json["Con"].intValue
        PassWord = json["PassWord"].stringValue
        page = json["page"].intValue
        LoginCount = json["LoginCount"].intValue
        RoleName = json["RoleName"].stringValue
        NickName = json["NickName"].stringValue
        Type = json["Type"].stringValue
        EndDate = json["EndDate"].stringValue
        AreaCode = json["AreaCode"].stringValue
        TopRank = json["TopRank"].stringValue
        RemainMoney = json["RemainMoney"].intValue
        Dimension = json["Dimension"].stringValue
        Id = json["Id"].stringValue
        DepositMoney = json["DepositMoney"].intValue
        AuthMessage = json["AuthMessage"].stringValue
        ParentUserID = json["ParentUserID"].stringValue
        UserID = json["UserID"].stringValue
        Phone = json["Phone"].stringValue
        PayPassWord = json["PayPassWord"].stringValue
        FrozenMoney = json["FrozenMoney"].floatValue
        Skills = json["Skills"].stringValue
        CityCode = json["CityCode"].stringValue
        TrueName = json["TrueName"].stringValue
        IsUse = json["IsUse"].stringValue
        DepositFrozenMoney = json["DepositFrozenMoney"].intValue
        CreateDate = json["CreateDate"].stringValue
        ProvinceCode = json["ProvinceCode"].stringValue
        RoleID = json["RoleID"].intValue
        Avator = json["Avator"].stringValue
        Longitude = json["Longitude"].stringValue
        AccountID = json["AccountID"].intValue
        LastLoginDate = json["LastLoginDate"].stringValue
        StartDate = json["StartDate"].stringValue
        IfAuth = json["IfAuth"].stringValue
    }
}
